<script>
export default {
	onLaunch: async function () {
		console.log('App Launch')
		const token = uni.getStorageSync('token')
		if (!token) {
			uni.reLaunch({
				url: '/pages/login/phoneLogin'
			})
		} 
	},
	onShow: function () {
		console.log('App Show')
	},
	onHide: function () {
		console.log('App Hide')
	}
}
</script>

<style>
/*每个页面公共css */
::-webkit-scrollbar {
	display: none;
}
</style>